import type { App } from 'vue'

/** 挂载到vue原型链上Prototype */
export default function setupVuePrototype(app: App) {
  window.ApiDev.server = `${window.ApiDev.server}/rescuejcj-service/`
  window.ApiDev.socketUrl = `${window.ApiDev.socketUrl}/rescuesocket-service/websocket/`
  app.config.globalProperties.$config = window.ApiDev 
  window.app = app
}
